package com.deli.mybatis.controller;

import com.deli.autoconfig.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: xudeli
 * @Date: 2018/9/17/017 39
 * @Description:
 */
@RestController
public class HelloController {

    @Autowired
    HelloService helloService;

    @GetMapping("hello")
    public String hello() {
        return helloService.sayHelloXuxu("haha");
    }
}
